Timber\Image B

Total Complexity 85
Dependencies 8
Dependents 5
Total lines 555
Lines of code 260
Logical lines of code 168
Comment lines 236
Methods 28
Properties 12

Methods 28

Method Rating Maintainability Complexity Lines of code
init()
C
38 25 64
get_image_info()
A
53 8 25
get_dimensions()
S
53 6 22
svgs_get_dimensions()
S
55 5 20
_maybe_secure_url()
S
68 4 6
wp_upload_dir()
S
68 4 7
src()
S
60 3 13
get_dimensions_loaded()
S
68 3 7
__toString()
S
72 2 6
parent()
S
72 2 6
link()
S
71 2 6
img_sizes()
S
73 2 5
srcset()
S
73 2 5
init_with_url()
S
68 2 7
get_post_custom()
S
70 2 7
width()
S
80 1 3
is_image()
S
68 1 6
get_src()
S
76 1 4
url()
S
76 1 4
__construct()
S
81 1 3
alt()
S
74 1 4
path()
S
80 1 3
height()
S
80 1 3
aspect()
S
73 1 5
init_with_file_path()
S
71 1 6
init_with_relative_path()
S
71 1 6
get_pathinfo()
S
80 1 3
get_url()
S
76 1 4